package cn.tworice.common.vo;

import lombok.Data;

import java.io.Serializable;

/**
 * 返回状态码
 * @author 二饭[tworice@sina.cn][2022/1/15 11:13]
 */
public class StatusCode implements Serializable {
    private static final long serialVersionUID = -4213573961876598438L;

    /**
     * 状态码
     */
    protected Integer code;

    /**
     * 状态信息
     */
    protected String message;

    public StatusCode() {
    }

    public StatusCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
